package com.swpu.service_archive.service;

import com.swpu.service_archive.entity.DiagnoseRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chaichai
 * @since 2024-03-19
 */
public interface DiagnoseRecordService extends IService<DiagnoseRecord> {

    void addDiagnoseData(String openid, DiagnoseRecord diagnoseRecord);

    List<DiagnoseRecord> getDiagnoseList(String openid);



    DiagnoseRecord getDiagnoseDataById(String id);

    void updateUserDiagnoseData(DiagnoseRecord diagnoseRecord);

    int getDiagnoseRecordCount(String openid);

    void deleteDiagnoseById(String id);
}
